package com.lemon.smartsafetynew.entity.user;

import java.io.Serializable;

/**
 * Created by JiangAn on 2018/4/10.
 */

public class LoginNameVo implements Serializable {
    private String loginName;
    private String loginPassword;

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getLoginPassword() {
        return loginPassword;
    }

    public void setLoginPassword(String loginPassword) {
        this.loginPassword = loginPassword;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        LoginNameVo that = (LoginNameVo) o;

        if (loginName != null ? !loginName.equals(that.loginName) : that.loginName != null)
            return false;
        return loginPassword != null ? loginPassword.equals(that.loginPassword) : that.loginPassword == null;
    }

    @Override
    public int hashCode() {
        int result = loginName != null ? loginName.hashCode() : 0;
        result = 31 * result + (loginPassword != null ? loginPassword.hashCode() : 0);
        return result;
    }
}
